package com.cci.kangdao.fieldService.service;

import com.cci.kangdao.fieldService.model.FieldServiceEngineer;
import com.cci.kangdao.fieldService.model.FieldServiceEvaluation;
import com.cci.kangdao.fieldService.model.FieldServiceItem;
import com.cci.kangdao.fieldService.model.FieldServiceTemplate;
import com.cci.kangdao.fieldService.model.FieldServiceTemplateStandard;
import com.cci.kangdao.fieldService.model.FieldServiceWorkOrder;
import com.cci.kangdao.fieldService.model.SyncFieldServiceOrderStatus;

import java.util.List;

/**
 * @author William Du
 * @date 2019/12/31
 */
public interface CCGSyncService {

    void syncServiceItemFromCrm(FieldServiceItem item);

    void syncServiceTemplateFromCrm(FieldServiceTemplate template);

    void syncTemplateStandardFromCrm(Long channel, List<FieldServiceTemplateStandard> standardList);

    void syncEngineerFromCrm(Long channel, List<FieldServiceEngineer> engineerList);

    void syncWorkOrderFromCrm(FieldServiceWorkOrder fieldServiceWorkOrder);

    void syncOrderStatusFromCrm(SyncFieldServiceOrderStatus orderStatus);

    void syncOrderEvaluation(FieldServiceEvaluation fieldServiceEvaluation);

}
